import tool from 'src/util/tool'
import util from '_util/index';

export default{
  hasInfo(vals){
    if(util.isArray(vals))
      return vals.length>0;
    else if(util.isObject(vals)){
      if(Object.keys(vals).length>0){
        if(_.findKey(vals,(val)=>val!==''))
          return true;
      }
    }
    return false;
  }

}
